/*
 * @Author: huangjinyao huangjinyao@hjy.cn
 * @Date: 2024-07-05 17:39:22
 * @LastEditors: 朝言夕识 11442050+we-know-each-other-every-day@user.noreply.gitee.com
 * @LastEditTime: 2024-07-05 19:23:03
 * @FilePath: \小兔仙项目\vue-rabbit\src\apis\checkout.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import httpInstance from '@/utils/http'

export const getCheckInfoAPI = () => {
    return httpInstance({
        url: '/member/order/pre',
        method: 'GET',
    })
}

export const createOrderAPI = (data) => {
    return httpInstance({
        url: '/member/order',
        method: 'POST',
        data
    })
}